package com.riku.security.service;

import com.riku.security.model.SeRole;
import com.riku.security.model.SeRoleMenu;
import com.riku.security.model.SeRoleUser;
import com.riku.security.model.SeUserParam;

import java.util.List;

/**
 * Created by 1 on 2021/5/15.
 */
public interface SeRoleService {
    void insertSeRole(String serviceCode,String roleName,String descr,Integer status,String menuIds);

    void deleteSeRoleById(Long id);

    void updateRole(String serviceCode,Long id,String roleName,String descr,Integer status,String menuIds);

    void statusRole(Long id,Integer status);

    void insertRoleUser(String serviceCode,Long roleId,String userId,String userName);

    void deleteRoleUser(Long id);

    List<SeRole> selectRoleList(String serviceCode,String roleName);

    List<SeRoleUser> selectRoleUserList(Long roleId,String userName);

    List<SeRoleMenu> selectRoleMenuList(Long id);
}
